package com.zsr.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zsr.example.entity.UcenterMember;
import com.zsr.example.vo.MemberReq;
import com.zsr.example.vo.front.LoginVo;
import com.zsr.example.vo.front.RegisterVo;
import com.zsr.example.vo.front.UserInfoVo;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author zsr
 * @since 2021-12-04
 */
public interface UcenterMemberService extends IService<UcenterMember> {
    String login(LoginVo loginVo);

    void register(RegisterVo registerVo);

    UserInfoVo getLoginInfo(String memberId);

    UcenterMember getByOpenid(String openid);

    Integer countRegisterByDay(String day);

    void pageQuery(Page<UcenterMember> page, MemberReq memberReq);
}
